﻿namespace Simple.Common.Authentication;

public static class SimpleClaimTypes
{
    public const string UserName = "un";

    public const string Role = "rol";


    public const string JwtId = "jti";

    public const string Audience = "aud";

    public const string Issuer = "iss";

    public const string IssuedAt = "iat";

    public const string NotBefore = "nbf";

    public const string Expiration = "exp";


    public const string UserId = "uid";

    public const string Name = "nam";

    public const string Email = "ema";

    public const string Phone = "phone";

    public const string Tenant = "tenant";

    public const string AdminType = "admintype";

    public const string OrganizationId = "organizationid";

    public const string Permission = "permissions";


    public const string AuthId = "authid";
    public const string IdCard = "idcard";
    public const string LoginIP = "loginip";
    public const string LoginTime = "loginname";
    public const string RealName = "realname";
    public const string Mobile = "mobile";

    public const string Token = "token";

    public const string SecondOrganizationId = "secondorganizationid";
    public const string SecondOrganizationName = "secondorganizationname";

    public const string ThirdOrganizationId = "thirdorganizationid";
    public const string ThirdOrganizationName = "thirdorganizationname";

    public const string CurrentOrganizationId = "currentorganizationid";

    public const string CurrentOrganizationName = "currentorganizationname";
}
